package com.example.communist_app_api.service;

import com.example.communist_app_api.db.pojoDto.UserSoncomment;

import java.util.List;

public interface UserSoncommentService {

    List<UserSoncomment> getUserComment(Integer id);

    int insertUserComment(Integer userId,Integer id,String context);

    boolean deleteUserComment(Integer id);

    int isInsertUserComment(Integer userId,Integer id,String context,Integer auditorId);

    List<UserSoncomment> getUnmoderatdeComment();

    boolean reviewComments(Integer userId,Integer id);

    List<UserSoncomment> getAllComment();
}
